#ifndef MULTITHREADMAINDLG_H
#define MULTITHREADMAINDLG_H

#include "MTTcpClient.h"

#include <QDialog>

namespace Ui {
class MultiThreadMainDlg;
}

class MultiThreadMainDlg : public QDialog
{
    Q_OBJECT

public:
    explicit MultiThreadMainDlg(QWidget *parent = nullptr);
    ~MultiThreadMainDlg();

private slots:
    void on_timeout();
    void on_btnDisConnect_clicked();

    void on_btnConnect_clicked();

private:
    Ui::MultiThreadMainDlg *ui;
    QScopedPointer<MTTcpClient> m_tcpClient;
};

#endif // MULTITHREADMAINDLG_H
